projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b78e8d0
)
(lstat) [!S_ISLNK]: Use stat instead of lstat.
author
Eli Zaretskii
<eliz@gnu.org>
Sun, 21 Feb 1999 16:36:07 +0000
(16:36 +0000)
committer
Eli Zaretskii
<eliz@gnu.org>
Sun, 21 Feb 1999 16:36:07 +0000
(16:36 +0000)
src/fileio.c
patch
|
blob
|
history
diff --git
a/src/fileio.c
b/src/fileio.c
index fd7322d7af4d5f54a04b7b5266288cd030c1c107..7a8a5c92322e1df54b449d1dd6d220a85def7844 100644
(file)
--- a/
src/fileio.c
+++ b/
src/fileio.c
@@
-149,6
+149,10
@@
extern char *strerror ();
#define O_RDONLY 0
#endif
+#ifndef S_ISLNK
+# define lstat stat
+#endif
+
#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))